package com.milo.template;

/**
 * @author: Milogenius
 * @create: 2019-06-19 14:46
 * @description: 模块模式测试
 **/
public class TemplatePatternDemo {
    public static void main(String[] args) {

        Game game = new Cricket();
        game.play();
        System.out.println();
        game = new Football();
        game.play();
    }
}
